﻿CREATE PROCEDURE [dbo].[proc_Finance_RunningAccountNon_GetItem]
	(
		@RId uniqueidentifier
	)
AS
begin
	Select
		R.Id,
		R.RId,
		R.CreateDate,
		R.TradeDate,
		R.Summary,
		R.AccountsTypeId,
		R.AccountsTypeName,
				
		R.PaymentTypeId,
		R.PaymentTypeName,
		R.BankId,
		R.BankName,
		R.Income,	
		
		R.Agent,
		R.AgentName,
		R.UserName,
		R.EName,
		R.BillNumber,	
		
		R.Description,
		 CompanyName,
		R.CompanyId
	From Finance_RunningAccount_Non R Where R.RId=@RId
	
end
	RETURN
